package com.xuan_poi.easy;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author renzhengxuan
 * @date 2021/4/13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student implements Serializable {
    @ExcelProperty("编号")
    private String id;
    @ExcelProperty("姓名")
    private String name;
    @ExcelProperty("性别")
    private String sex;
    @ExcelProperty("年龄")
//    @ExcelIgnore
    private Integer age;
    @ExcelProperty("生日")
    private Date bir;
}
